@extends('home.m.m1.public.public')

@section('content')
    <section class="met-shownews animsition">
        <div class="container">
            <div class="row">
                <div class="col-md-9 met-shownews-body">
                    <div class="row">
                        <div class="met-shownews-header">
                            <h1>{{ $info['name'] }}</h1>
                            <div class="info">
                                <span>{{ $info['time'] }}</span>
                                <span>{{ config('set.web_name') }}</span>
                                <span><i class="icon wb-eye margin-right-5"
                                         aria-hidden="true"></i>{{ $info['page_view'] }}</span>
                            </div>
                        </div>
                        <div class="met-editor lazyload clearfix">{!! $info['describe'] !!}</div>
                        <div class="met-shownews-footer">
                            <ul class="pager pager-round">
                                <?php if(!empty($prev)){ ?>
                                <li class="previous ">
                                    <a href="{{ route('info',['new',$prev['id']]) }}"
                                       title="{{ $prev['name'] }}">
                                        上一篇
                                        <span aria-hidden="true" class='hidden-xs'>：{{ $prev['name'] }}</span>
                                    </a>
                                </li>
                                <?php } ?>
                                <?php if(!empty($next)){ ?>
                                <li class="next ">
                                    <a href="{{ route('info',['new',$next['id']]) }}"
                                       title="{{ $next['name'] }}">
                                        下一篇
                                        <span aria-hidden="true" class='hidden-xs'>：{{ $next['name'] }}</span>
                                    </a>
                                </li>
                                <?php } ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection